<div class="header">
            <a href="<?php echo base_url(); ?>index.php">
                <img id='searchlogo' src='<?php echo base_url();?>public/img/TicForTac_Logo.png'/>
            </a>
    <div class="buttonBox">
        <?php if(!$hasSession){ ?>
            <a class="btn btn-default" data-toggle="modal" data-target="#login_model" class="login button">LOGIN</a>
            <a class="btn btn-success" data-toggle="modal" data-target="#signup_model" class="signup button">SIGN UP</a>
        <?php }else{?>
            <a class="btn btn-info" href="<?php echo base_url()?>index.php/profile">MY PROFILE</a>
            <a class="btn btn-danger" href="<?php echo base_url()?>index.php/profile/signout" >LOG OUT</a>
        <?php }?>
    </div>
</div>

